.project-content-compare {
  padding-top: 24px;
  .history-list {
    border: 1px solid #f0f0f0;
    border-bottom: 0;
    .commit-wrapper {
      background: $snow;
      border-radius: 0;
      border: 0;
      border-bottom: 1px solid #f0f0f0;
    }
  }
}

.compare-content {
  .compare-src-dist {
    &-title {
      display: flex;
      align-items: center;
      margin: 12px 0;
      .title {
        text-align: left;
        line-height: 40px;
        font-size: 20px;
        margin-left: 12px;
        color: #383838;
      }
    }
    &-tip {
      background: #edf7ff;
      display: flex;
      justify-content: space-between;
      height: 36px;
      align-items: center;
      line-height: 20px;
      font-size: 14px;
      color: #383838;
      padding: 0 20px;
      &.hide {
        display: none;
      }
      .close-icon {
        color: #70b8ff;
        cursor: pointer;
      }
    }
    .compare-select-wrapper {
      margin-top: 16px;
      display: flex;
      align-items: center;
      line-height: 36px;
      &-src,
      &-dist {
        .next-select {
          min-width: 120px;
        }
      }
      .src-text,
      .dist-text {
        margin-right: 12px;
        line-height: 22px;
        font-size: 14px;
        color: #383838;
      }
    }
    .compare-switch {
      margin: 0 20px;
      color: #a6a6a6;
      width: 18px;
    }
    .br-select {
      height: 36px;
    }
    .compare-btn {
      // background: #3da8f5;
      // border-radius: 4px;
      // width: 88px;
      // color: #fff;
      margin-left: 20px;
      // text-align: center;
      // font-size: 14px;
    }
  }
  .compare-history {
    line-height: 20px;
    font-size: 16px;
    .history-title {
      display: flex;
      align-items: center;
      margin: 20px 0;
      &-left {
        text-align: left;
        color: $gray-08;
        font-weight: 500;
      }
      &-right {
        margin-left: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        color: #a6a6a6;
        .hide-history-icon {
          color: #a6a6a6;
        }
      }
    }
  }

  .compare-tree-content {
    margin-top: 20px;
  }
}

.compare-loading {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.compare-empty {
  margin-top: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.br-select {
  height: 36px;
}
.project-layout-wrapper-global-msg {
  padding-top: 8px;
  padding-bottom: 8px;
  .next-message-content {
    line-height: 20px;
    font-size: 14px;
    color: $gray-08;
  }
}
.compare-more-mode {
  font-size: 14px;
  color: #383838;
  padding-left: 16px;
  span {
    padding-right: 6px;
  }
}
